package com.sharp.authorization.dao.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.Data;

/**
 * Title: AcUserRole
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2022/6/16 14:20
 */
/**
    * 操作员与角色映射表
    */
@ApiModel(value="com-sharp-authorization-dao-common-entity-AcUserRole")
@Data
@Table(name = "ac_user_role")
public class AcUserRole {
    /**
     * 用户ID
     */
    @Column(name = "user_id")
    @ApiModelProperty(value="用户ID")
    private String userId;

    /**
     * 角色ID
     */
    @Column(name = "role_id")
    @ApiModelProperty(value="角色ID")
    private String roleId;
}